import axios from "./config"

//定义请求接口
export const loginApi = (data={}) => axios.post("/users/login",data)


//获取验证码
export const getCaptcha = ()=>axios.get("/users/getCaptcha")

//校验验证码
export const verifyCaptcha = (captcha="")=>axios.get("/users/verifyCaptcha",{
    params:{
        captcha
    }
})

